package com.jeecms.wicool.manager.cms;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.cms.CmsVote;

public interface CmsVoteMng {
	public Pagination getPage(String title,int pageNo, int pageSize,CmsUser user);
	public CmsVote findById(Integer id); 
	public CmsVote update(CmsVote bean,Integer shopId);
	public CmsVote save(CmsVote bean,Integer shopId);
	public CmsVote deleteById(Integer id);
	public CmsVote[] deleteByIds(Integer[] ids);
	
	public List<CmsVote> getAll(CmsUser user);
	
	public CmsVote findByContentId(Integer contentId);
	
}